#include "stockdata.h"

StockData::StockData()
{

}

StockData::StockData(int things_id, int user_id, const QString &tings_name, const QString &tings_jur, int tings_money, int tings_count)
{
    this->tings_id=things_id;
    this->user_id=user_id;
    this->tings_name=tings_name;
    this->tings_jur=tings_jur;
     this->tings_money=tings_money;
    this->tings_count=tings_count;

}

StockData::StockData(StockData *tings)
{
     this->tings_id=tings->tings_id;
     this->user_id=tings->user_id;
    this->tings_name=tings->tings_name;
    this->tings_jur=tings->tings_jur;
    this->tings_money=tings->tings_money;
    this->tings_count=tings->tings_count;

}

int StockData::getTings_id() const
{
    return tings_id;
}

void StockData::setTings_id(int value)
{
    tings_id = value;
}

int StockData::getUser_id() const
{
    return user_id;
}

void StockData::setUser_id(int value)
{
    user_id = value;
}

QString StockData::getTings_name() const
{
    return tings_name;
}

void StockData::setTings_name(const QString &value)
{
    tings_name = value;
}

QString StockData::getTings_jur() const
{
    return tings_jur;
}

void StockData::setTings_jur(const QString &value)
{
    tings_jur = value;
}

double StockData::getTings_money() const
{
    return tings_money;
}

void StockData::setTings_money(double value)
{
    tings_money = value;
}

int StockData::getTings_count() const
{
    return tings_count;
}

void StockData::setTings_count(int value)
{
    tings_count = value;
}
